<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>简易计算器</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <div class="container">
        <h1>简易计算器</h1>
        <form id="calculatorForm">
            <input type="number" id="num1" placeholder="输入第一个数字" required>
            <input type="number" id="num2" placeholder="输入第二个数字" required>
            <select id="operation">
                <option value="add">加</option>
                <option value="subtract">减</option>
                <option value="multiply">乘</option>
                <option value="divide">除</option>
            </select>
            <button type="submit">计算</button>
        </form>
        <div id="result"></div>
        <button onclick="logout()">注销</button>
    </div>

    <script src="calculator.js"></script>
</body>
</html>
